﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace BaseCoder
{
    public class AppConfig
    {
        public static string ManageSettingsRoot = System.Configuration.ConfigurationManager.AppSettings["ManageSettingsRoot"];

        public static string ModelNamespace = System.Configuration.ConfigurationManager.AppSettings["ModelNamespace"];
        public static string ModelSavePath = System.Configuration.ConfigurationManager.AppSettings["ModelSavePath"];
        public static bool ModelCover = (System.Configuration.ConfigurationManager.AppSettings["ModelCover"] == "1");

        public static string DALNamespace = System.Configuration.ConfigurationManager.AppSettings["DALNamespace"];
        public static string DALSavePath = System.Configuration.ConfigurationManager.AppSettings["DALSavePath"];

        public static bool DALCover = (System.Configuration.ConfigurationManager.AppSettings["DALCover"] == "1");


        public static string BLLNamespace = System.Configuration.ConfigurationManager.AppSettings["BLLNamespace"];
        public static string BLLSavePath = System.Configuration.ConfigurationManager.AppSettings["BLLSavePath"];
        public static bool BLLCover = (System.Configuration.ConfigurationManager.AppSettings["BLLCover"] == "1");

        public static bool IsFactory = (System.Configuration.ConfigurationManager.AppSettings["IsFactory"] == "1");
        public static string IDALSavePath = System.Configuration.ConfigurationManager.AppSettings["IDALSavePath"];
        public static string DALFactory = System.Configuration.ConfigurationManager.AppSettings["DALFactory"];
        public static string IDAL = System.Configuration.ConfigurationManager.AppSettings["IDAL"];

        public static string CompanyName = ConfigurationManager.AppSettings["CompanyName"];
    }
}
